package com.oa.entity;

/**
 * @Description 员工
 * @Author hyl
 * @Date 2022/7/2 8:30
 **/
public class Employee {
	private Integer id;
	private String employeeNo;
	private String password;
	private String name;
	private String email;
	private Integer deptId; //部门id
	private String entryTime;
	private Integer positionId; //职位id
	private String photo;

	//需要员工的职位：positionName==>登入成功
	private String positionName;  //关联职位表
	private String departName;//关联部门表

	public Employee() {
	}

	public Employee(Integer id, String employeeNo, String password, String name, String email, Integer deptId, String entryTime, Integer positionId, String photo) {
		this.id = id;
		this.employeeNo = employeeNo;
		this.password = password;
		this.name = name;
		this.email = email;
		this.deptId = deptId;
		this.entryTime = entryTime;
		this.positionId = positionId;
		this.photo = photo;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEmployeeNo() {
		return employeeNo;
	}

	public void setEmployeeNo(String employeeNo) {
		this.employeeNo = employeeNo;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(String entryTime) {
		this.entryTime = entryTime;
	}

	public Integer getPositionId() {
		return positionId;
	}

	public void setPositionId(Integer positionId) {
		this.positionId = positionId;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}
}
